function bubblyButton() {
    var animateButton = function (e) {
        e.preventDefault;
        //reset animation
        e.target.classList.remove('animate');

        e.target.classList.add('animate');
        setTimeout(function () {
            e.target.classList.remove('animate');
        }, 1000);
    };

    var classname = document.getElementsByClassName("bubbly-button");
    for (var i = 0; i < classname.length; i++) {
        classname[i].addEventListener('click', animateButton, false);
    }
}




export default {
    bubblyButton
}